package com.tuozixuan;

import java.util.List;

import com.tuozixuan.model.Member;

import cn.afterturn.easypoi.entity.vo.NormalExcelConstants;
import cn.afterturn.easypoi.excel.ExcelImportUtil;
import cn.afterturn.easypoi.excel.entity.ExportParams;
import cn.afterturn.easypoi.excel.entity.enmus.ExcelType;
import cn.afterturn.easypoi.view.PoiBaseView;
import cn.afterturn.easypoi.excel.ExcelExportUtil;

public class EasyPoiDemo {

	public static void main(String[] args) {
		//ExcelExportUtil.exportExcel(entity, pojoClass, dataSet);
		
		// TODO Auto-generated method stub
//		PoiBaseView.
//		ExcelExportUtil.exportBigExcel(null, EasyPoiDemo.class
//				);
//		List<Member> memberList = LocalJsonUtil.getListFromJson("json/members.json", Member.class);
        ExportParams params = new ExportParams("会员列表", "会员列表", ExcelType.XSSF);
//        map.put(NormalExcelConstants.DATA_LIST, memberList);
//        map.put(NormalExcelConstants.CLASS, Member.class);
//        map.put(NormalExcelConstants.PARAMS, params);
//        map.put(NormalExcelConstants.FILE_NAME, "memberList");
        //PoiBaseView.render(map, request, response, NormalExcelConstants.EASYPOI_EXCEL_VIEW);


	}

}
